﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000BED RID: 3053
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class MonsterPhaseStt : IMessage<MonsterPhaseStt>, IMessage, IEquatable<MonsterPhaseStt>, IDeepCloneable<MonsterPhaseStt>, IBufferMessage
	{
		// Token: 0x17002684 RID: 9860
		// (get) Token: 0x060088A7 RID: 34983 RVA: 0x0016B8C5 File Offset: 0x00169AC5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<MonsterPhaseStt> Parser
		{
			get
			{
				return MonsterPhaseStt._parser;
			}
		}

		// Token: 0x17002685 RID: 9861
		// (get) Token: 0x060088A8 RID: 34984 RVA: 0x0016B8CC File Offset: 0x00169ACC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return MonsterPhaseSttReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002686 RID: 9862
		// (get) Token: 0x060088A9 RID: 34985 RVA: 0x0016B8DE File Offset: 0x00169ADE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return MonsterPhaseStt.Descriptor;
			}
		}

		// Token: 0x060088AA RID: 34986 RVA: 0x0016B8E5 File Offset: 0x00169AE5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MonsterPhaseStt()
		{
		}

		// Token: 0x060088AB RID: 34987 RVA: 0x0016B8F0 File Offset: 0x00169AF0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MonsterPhaseStt(MonsterPhaseStt other) : this()
		{
			this.fBHHGDOCAPD_ = other.fBHHGDOCAPD_;
			this.oONHLCBOFHP_ = other.oONHLCBOFHP_;
			this.hFMOHMKGGEK_ = other.hFMOHMKGGEK_;
			this.breakTimes_ = other.breakTimes_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060088AC RID: 34988 RVA: 0x0016B944 File Offset: 0x00169B44
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MonsterPhaseStt Clone()
		{
			return new MonsterPhaseStt(this);
		}

		// Token: 0x17002687 RID: 9863
		// (get) Token: 0x060088AD RID: 34989 RVA: 0x0016B94C File Offset: 0x00169B4C
		// (set) Token: 0x060088AE RID: 34990 RVA: 0x0016B954 File Offset: 0x00169B54
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint FBHHGDOCAPD
		{
			get
			{
				return this.fBHHGDOCAPD_;
			}
			set
			{
				this.fBHHGDOCAPD_ = value;
			}
		}

		// Token: 0x17002688 RID: 9864
		// (get) Token: 0x060088AF RID: 34991 RVA: 0x0016B95D File Offset: 0x00169B5D
		// (set) Token: 0x060088B0 RID: 34992 RVA: 0x0016B965 File Offset: 0x00169B65
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public double OONHLCBOFHP
		{
			get
			{
				return this.oONHLCBOFHP_;
			}
			set
			{
				this.oONHLCBOFHP_ = value;
			}
		}

		// Token: 0x17002689 RID: 9865
		// (get) Token: 0x060088B1 RID: 34993 RVA: 0x0016B96E File Offset: 0x00169B6E
		// (set) Token: 0x060088B2 RID: 34994 RVA: 0x0016B976 File Offset: 0x00169B76
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint HFMOHMKGGEK
		{
			get
			{
				return this.hFMOHMKGGEK_;
			}
			set
			{
				this.hFMOHMKGGEK_ = value;
			}
		}

		// Token: 0x1700268A RID: 9866
		// (get) Token: 0x060088B3 RID: 34995 RVA: 0x0016B97F File Offset: 0x00169B7F
		// (set) Token: 0x060088B4 RID: 34996 RVA: 0x0016B987 File Offset: 0x00169B87
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint BreakTimes
		{
			get
			{
				return this.breakTimes_;
			}
			set
			{
				this.breakTimes_ = value;
			}
		}

		// Token: 0x060088B5 RID: 34997 RVA: 0x0016B990 File Offset: 0x00169B90
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as MonsterPhaseStt);
		}

		// Token: 0x060088B6 RID: 34998 RVA: 0x0016B9A0 File Offset: 0x00169BA0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(MonsterPhaseStt other)
		{
			return other != null && (other == this || (this.FBHHGDOCAPD == other.FBHHGDOCAPD && ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(this.OONHLCBOFHP, other.OONHLCBOFHP) && this.HFMOHMKGGEK == other.HFMOHMKGGEK && this.BreakTimes == other.BreakTimes && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060088B7 RID: 34999 RVA: 0x0016BA14 File Offset: 0x00169C14
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.FBHHGDOCAPD != 0U)
			{
				num ^= this.FBHHGDOCAPD.GetHashCode();
			}
			if (this.OONHLCBOFHP != 0.0)
			{
				num ^= ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(this.OONHLCBOFHP);
			}
			if (this.HFMOHMKGGEK != 0U)
			{
				num ^= this.HFMOHMKGGEK.GetHashCode();
			}
			if (this.BreakTimes != 0U)
			{
				num ^= this.BreakTimes.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060088B8 RID: 35000 RVA: 0x0016BAA9 File Offset: 0x00169CA9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060088B9 RID: 35001 RVA: 0x0016BAB1 File Offset: 0x00169CB1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060088BA RID: 35002 RVA: 0x0016BABC File Offset: 0x00169CBC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.FBHHGDOCAPD != 0U)
			{
				output.WriteRawTag(8);
				output.WriteUInt32(this.FBHHGDOCAPD);
			}
			if (this.OONHLCBOFHP != 0.0)
			{
				output.WriteRawTag(17);
				output.WriteDouble(this.OONHLCBOFHP);
			}
			if (this.HFMOHMKGGEK != 0U)
			{
				output.WriteRawTag(24);
				output.WriteUInt32(this.HFMOHMKGGEK);
			}
			if (this.BreakTimes != 0U)
			{
				output.WriteRawTag(32);
				output.WriteUInt32(this.BreakTimes);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060088BB RID: 35003 RVA: 0x0016BB58 File Offset: 0x00169D58
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.FBHHGDOCAPD != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.FBHHGDOCAPD);
			}
			if (this.OONHLCBOFHP != 0.0)
			{
				num += 9;
			}
			if (this.HFMOHMKGGEK != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.HFMOHMKGGEK);
			}
			if (this.BreakTimes != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.BreakTimes);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060088BC RID: 35004 RVA: 0x0016BBDC File Offset: 0x00169DDC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(MonsterPhaseStt other)
		{
			if (other == null)
			{
				return;
			}
			if (other.FBHHGDOCAPD != 0U)
			{
				this.FBHHGDOCAPD = other.FBHHGDOCAPD;
			}
			if (other.OONHLCBOFHP != 0.0)
			{
				this.OONHLCBOFHP = other.OONHLCBOFHP;
			}
			if (other.HFMOHMKGGEK != 0U)
			{
				this.HFMOHMKGGEK = other.HFMOHMKGGEK;
			}
			if (other.BreakTimes != 0U)
			{
				this.BreakTimes = other.BreakTimes;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060088BD RID: 35005 RVA: 0x0016BC5D File Offset: 0x00169E5D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060088BE RID: 35006 RVA: 0x0016BC68 File Offset: 0x00169E68
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 17U)
				{
					if (num == 8U)
					{
						this.FBHHGDOCAPD = input.ReadUInt32();
						continue;
					}
					if (num == 17U)
					{
						this.OONHLCBOFHP = input.ReadDouble();
						continue;
					}
				}
				else
				{
					if (num == 24U)
					{
						this.HFMOHMKGGEK = input.ReadUInt32();
						continue;
					}
					if (num == 32U)
					{
						this.BreakTimes = input.ReadUInt32();
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x04003423 RID: 13347
		private static readonly MessageParser<MonsterPhaseStt> _parser = new MessageParser<MonsterPhaseStt>(() => new MonsterPhaseStt());

		// Token: 0x04003424 RID: 13348
		private UnknownFieldSet _unknownFields;

		// Token: 0x04003425 RID: 13349
		public const int FBHHGDOCAPDFieldNumber = 1;

		// Token: 0x04003426 RID: 13350
		private uint fBHHGDOCAPD_;

		// Token: 0x04003427 RID: 13351
		public const int OONHLCBOFHPFieldNumber = 2;

		// Token: 0x04003428 RID: 13352
		private double oONHLCBOFHP_;

		// Token: 0x04003429 RID: 13353
		public const int HFMOHMKGGEKFieldNumber = 3;

		// Token: 0x0400342A RID: 13354
		private uint hFMOHMKGGEK_;

		// Token: 0x0400342B RID: 13355
		public const int BreakTimesFieldNumber = 4;

		// Token: 0x0400342C RID: 13356
		private uint breakTimes_;
	}
}
